package com.alex.demo.controller;

import com.alex.demo.limiter.annotation.AccessLimiter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LimterController {

    @GetMapping("test01")
    @AccessLimiter(limit = 1, methodKey = "order")
    public String test01() {
        return "success";
    }
}
